import { NgModule }               from '@angular/core';
import { SharedModule }           from '@shared';
import { StaffRoutingModule }     from './staff-routing.module';
import { StaffListComponent }     from './list.component';
import { StaffListEditComponent } from './edit/edit.component';
import { StaffListViewComponent } from './view/view.component';

const COMPONENTS = [
  StaffListComponent];
const COMPONENTS_NOROUNT = [
  StaffListEditComponent,
  StaffListViewComponent];

@NgModule({
  imports: [
    SharedModule,
    StaffRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class StaffModule { }
